package com.coding.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * question
 * @author 
 */
public class Question implements Serializable {
    private Integer question_id;

    private Integer question_kind_id;

    private String question_kind;

    private String question_title;

    private String chooseA;

    private String chooseB;

    private String chooseC;

    private String chooseD;

    private String answer;

    private Integer answer_index;

    private String answer_content;

    private String answer_explain;

    private Integer main_place_id;

    private Integer poem_id;

    private String tag;

    private String question_more;

    private Date question_time;

    private static final long serialVersionUID = 1L;

    public Integer getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(Integer question_id) {
        this.question_id = question_id;
    }

    public Integer getQuestion_kind_id() {
        return question_kind_id;
    }

    public void setQuestion_kind_id(Integer question_kind_id) {
        this.question_kind_id = question_kind_id;
    }

    public String getQuestion_kind() {
        return question_kind;
    }

    public void setQuestion_kind(String question_kind) {
        this.question_kind = question_kind;
    }

    public String getQuestion_title() {
        return question_title;
    }

    public void setQuestion_title(String question_title) {
        this.question_title = question_title;
    }

    public String getChooseA() {
        return chooseA;
    }

    public void setChooseA(String chooseA) {
        this.chooseA = chooseA;
    }

    public String getChooseB() {
        return chooseB;
    }

    public void setChooseB(String chooseB) {
        this.chooseB = chooseB;
    }

    public String getChooseC() {
        return chooseC;
    }

    public void setChooseC(String chooseC) {
        this.chooseC = chooseC;
    }

    public String getChooseD() {
        return chooseD;
    }

    public void setChooseD(String chooseD) {
        this.chooseD = chooseD;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Integer getAnswer_index() {
        return answer_index;
    }

    public void setAnswer_index(Integer answer_index) {
        this.answer_index = answer_index;
    }

    public String getAnswer_content() {
        return answer_content;
    }

    public void setAnswer_content(String answer_content) {
        this.answer_content = answer_content;
    }

    public String getAnswer_explain() {
        return answer_explain;
    }

    public void setAnswer_explain(String answer_explain) {
        this.answer_explain = answer_explain;
    }

    public Integer getMain_place_id() {
        return main_place_id;
    }

    public void setMain_place_id(Integer main_place_id) {
        this.main_place_id = main_place_id;
    }

    public Integer getPoem_id() {
        return poem_id;
    }

    public void setPoem_id(Integer poem_id) {
        this.poem_id = poem_id;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getQuestion_more() {
        return question_more;
    }

    public void setQuestion_more(String question_more) {
        this.question_more = question_more;
    }

    public Date getQuestion_time() {
        return question_time;
    }

    public void setQuestion_time(Date question_time) {
        this.question_time = question_time;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Question other = (Question) that;
        return (this.getQuestion_id() == null ? other.getQuestion_id() == null : this.getQuestion_id().equals(other.getQuestion_id()))
            && (this.getQuestion_kind_id() == null ? other.getQuestion_kind_id() == null : this.getQuestion_kind_id().equals(other.getQuestion_kind_id()))
            && (this.getQuestion_kind() == null ? other.getQuestion_kind() == null : this.getQuestion_kind().equals(other.getQuestion_kind()))
            && (this.getQuestion_title() == null ? other.getQuestion_title() == null : this.getQuestion_title().equals(other.getQuestion_title()))
            && (this.getChooseA() == null ? other.getChooseA() == null : this.getChooseA().equals(other.getChooseA()))
            && (this.getChooseB() == null ? other.getChooseB() == null : this.getChooseB().equals(other.getChooseB()))
            && (this.getChooseC() == null ? other.getChooseC() == null : this.getChooseC().equals(other.getChooseC()))
            && (this.getChooseD() == null ? other.getChooseD() == null : this.getChooseD().equals(other.getChooseD()))
            && (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer()))
            && (this.getAnswer_index() == null ? other.getAnswer_index() == null : this.getAnswer_index().equals(other.getAnswer_index()))
            && (this.getAnswer_content() == null ? other.getAnswer_content() == null : this.getAnswer_content().equals(other.getAnswer_content()))
            && (this.getAnswer_explain() == null ? other.getAnswer_explain() == null : this.getAnswer_explain().equals(other.getAnswer_explain()))
            && (this.getMain_place_id() == null ? other.getMain_place_id() == null : this.getMain_place_id().equals(other.getMain_place_id()))
            && (this.getPoem_id() == null ? other.getPoem_id() == null : this.getPoem_id().equals(other.getPoem_id()))
            && (this.getTag() == null ? other.getTag() == null : this.getTag().equals(other.getTag()))
            && (this.getQuestion_more() == null ? other.getQuestion_more() == null : this.getQuestion_more().equals(other.getQuestion_more()))
            && (this.getQuestion_time() == null ? other.getQuestion_time() == null : this.getQuestion_time().equals(other.getQuestion_time()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getQuestion_id() == null) ? 0 : getQuestion_id().hashCode());
        result = prime * result + ((getQuestion_kind_id() == null) ? 0 : getQuestion_kind_id().hashCode());
        result = prime * result + ((getQuestion_kind() == null) ? 0 : getQuestion_kind().hashCode());
        result = prime * result + ((getQuestion_title() == null) ? 0 : getQuestion_title().hashCode());
        result = prime * result + ((getChooseA() == null) ? 0 : getChooseA().hashCode());
        result = prime * result + ((getChooseB() == null) ? 0 : getChooseB().hashCode());
        result = prime * result + ((getChooseC() == null) ? 0 : getChooseC().hashCode());
        result = prime * result + ((getChooseD() == null) ? 0 : getChooseD().hashCode());
        result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode());
        result = prime * result + ((getAnswer_index() == null) ? 0 : getAnswer_index().hashCode());
        result = prime * result + ((getAnswer_content() == null) ? 0 : getAnswer_content().hashCode());
        result = prime * result + ((getAnswer_explain() == null) ? 0 : getAnswer_explain().hashCode());
        result = prime * result + ((getMain_place_id() == null) ? 0 : getMain_place_id().hashCode());
        result = prime * result + ((getPoem_id() == null) ? 0 : getPoem_id().hashCode());
        result = prime * result + ((getTag() == null) ? 0 : getTag().hashCode());
        result = prime * result + ((getQuestion_more() == null) ? 0 : getQuestion_more().hashCode());
        result = prime * result + ((getQuestion_time() == null) ? 0 : getQuestion_time().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", question_id=").append(question_id);
        sb.append(", question_kind_id=").append(question_kind_id);
        sb.append(", question_kind=").append(question_kind);
        sb.append(", question_title=").append(question_title);
        sb.append(", chooseA=").append(chooseA);
        sb.append(", chooseB=").append(chooseB);
        sb.append(", chooseC=").append(chooseC);
        sb.append(", chooseD=").append(chooseD);
        sb.append(", answer=").append(answer);
        sb.append(", answer_index=").append(answer_index);
        sb.append(", answer_content=").append(answer_content);
        sb.append(", answer_explain=").append(answer_explain);
        sb.append(", main_place_id=").append(main_place_id);
        sb.append(", poem_id=").append(poem_id);
        sb.append(", tag=").append(tag);
        sb.append(", question_more=").append(question_more);
        sb.append(", question_time=").append(question_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}